home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
em7sui_1
/
em7sui~1.exe
/
TextListTest.wr_
/
TextListTest.wr
Wrap
Text File
|
1998-10-22
|
2KB
|
77 lines
#VRML V2.0 utf8
# Copyright Electrohouse 1998
# This file may not be copied, modified or distributed
# in any way which violates the ProtoPak licensing
# agreement established by Electrohouse.
EXTERNPROTO Blue [ exposedField SFFloat transparency ] "..\Appearances\SummerMaterials.wrl#color19"
EXTERNPROTO em7_TextList [
exposedField SFNode appearance
field MFString string
field SFFloat textHeight
field SFFloat textGap
field SFInt32 visibleCount
field SFInt32 topIndex
exposedField MFFloat length
exposedField SFFloat maxExtent
field SFString family
field SFString style
field MFString justify
field SFBool horizontal
field SFBool leftToRight
field SFBool topToBottom
field SFString language
eventIn MFString set_string
eventIn MFString addStrings
eventIn SFInt32 set_visibleCount
eventIn SFInt32 set_topIndex
eventOut MFString visibleText_changed
eventOut SFInt32 topIndex_changed
eventOut SFInt32 listRange_changed
] "..\VR_UI.wrl#em7_TextList"
EXTERNPROTO em7_Slider [
field SFFloat height
field SFFloat radius
field SFInt32 min
field SFInt32 max
field SFInt32 value
eventIn SFInt32 set_min
eventIn SFInt32 set_max
eventIn SFInt32 set_value
eventOut SFInt32 value_changed
] "..\VR_UI.wrl#em7_Slider"
Transform {
translation -1.5 -2.5 0
children [
DEF MY_TEXT em7_TextList {
appearance Blue {}
string ["This", "is", "a", "test", "of", "the", "text", "list", "node", "hooked", "up", "to", "a", "slider", "node"]
textHeight 0.75
textGap 0.25
visibleCount 5
justify ["BEGIN", "END"]
}
]
}
Transform {
translation 1 2.5 0
rotation 1 0 0 3.14159
children [
DEF MY_SLIDER em7_Slider {
height 5
radius 0.1
min 0
}
]
}
ROUTE MY_TEXT.listRange_changed TO MY_SLIDER.set_max
ROUTE MY_SLIDER.value_changed TO MY_TEXT.set_topIndex